Skip to content

VCST-3989: Add support for order search by promotion ID(s)#478

Merged
OlegoO merged 9 commits intodevfrom
feat/VCST-3989
Jan 15, 2026
Merged

VCST-3989: Add support for order search by promotion ID(s)#478
OlegoO merged 9 commits intodevfrom
feat/VCST-3989

Conversation

@OlegoO
Copy link
Contributor

@OlegoO OlegoO commented Dec 22, 2025

Description

feat: Enable filtering customer orders by single or multiple promotion IDs. Promotion IDs from discounts in orders, line items, payments, and shipments are now indexed and filterable. Updated search criteria, indexing, and query logic to support both indexed and database search for orders associated with specified promotions.

References

QA-test:

Jira-link:

https://virtocommerce.atlassian.net/browse/VCST-3989

Artifact URL:

https://vc3prerelease.blob.core.windows.net/packages/VirtoCommerce.Orders_3.866.0-pr-478-9a95.zip


Note

Adds promotion-aware order search and a small UI to view discounts.

  • Extend CustomerOrderSearchCriteria with PromotionId/PromotionIds
  • Index PromotionId from discounts on orders, line items, payments, and shipments; add filterable promotionid field
  • Apply promotion filters in both indexed search and DB query (CustomerOrderSearchRequestBuilder, CustomerOrderSearchService)
  • Add "Operation Discounts" widget and blade to list discounts; register on order, payment, shipment, and line item detail views

Written by Cursor Bugbot for commit 9a956c7. This will update automatically on new commits. Configure here.

feat: Enable filtering customer orders by single or multiple promotion IDs. Promotion IDs from discounts in orders, line items, payments, and shipments are now indexed and filterable. Updated search criteria, indexing, and query logic to support both indexed and database search for orders associated with specified promotions.
Copy link
Contributor

@vc-ci vc-ci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test Suite: Test Suites/Modules/module_Assets
Tests: 13
Failures: 0
Errors: 0
Time: 7.373
Timestamp: 22-12-2025T15:58:29

Copy link
Contributor

@vc-ci vc-ci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test Suite: Test Suites/Modules/module_Assets
Tests: 13
Failures: 0
Errors: 0
Time: 7.856
Timestamp: 22-12-2025T16:19:18

Copy link
Contributor

@vc-ci vc-ci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test Suite: Test Suites/Modules/module_Assets
Tests: 13
Failures: 0
Errors: 0
Time: 7.38
Timestamp: 23-12-2025T09:39:35

Copy link
Contributor

@vc-ci vc-ci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test Suite: Test Suites/Modules/module_Assets
Tests: 13
Failures: 0
Errors: 0
Time: 7.541
Timestamp: 26-12-2025T11:57:28

Copy link
Contributor

@vc-ci vc-ci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test Suite: Test Suites/Modules/module_Assets
Tests: 13
Failures: 0
Errors: 0
Time: 8.141
Timestamp: 26-12-2025T15:15:38

Copy link
Contributor

@vc-ci vc-ci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test Suite: Test Suites/Modules/module_Assets
Tests: 13
Failures: 0
Errors: 0
Time: 7.722
Timestamp: 14-01-2026T19:22:13

@OlegoO OlegoO merged commit 36e21db into dev Jan 15, 2026
2 of 3 checks passed
@OlegoO OlegoO deleted the feat/VCST-3989 branch January 15, 2026 14:40
@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants